package com.gopay.common.rcs.dao.translimit;

import java.io.Serializable;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.common.constants.rcs.TranDirection;
import com.gopay.common.constants.txncd.IntTxnCd;
import com.gopay.common.domain.acps.AcctProd;
import com.gopay.common.domain.rcs.RcsBAcctLimitStatistics;

/**
 * 额度统计数据库访问对象 
 * @RcsTransLimitStatisticsDAO.java
 * @author liujy
 * @2013-7-23 下午6:35:41  www.gopay.com.cn Inc.All rights reserved.
 */
public interface RcsBAcctLimitStatisticsDAO extends BaseDAO<RcsBAcctLimitStatistics, Serializable> {
    
    /**
     * 
     * @param custId
     * @param acctProd
     * @param intTxnCd
     * @param tranDirection
     * @param pbocBankCode  暂时不用
     * @param bankAcctNum
     * @param tranDate
     * @return
     */
    RcsBAcctLimitStatistics findTransLimitStatistics(String custId, AcctProd acctProd, IntTxnCd intTxnCd,
            TranDirection tranDirection, String pbocBankCode, String bankAcctNum, String tranDate);
    
    
    RcsBAcctLimitStatistics add(RcsBAcctLimitStatistics statistics);

}
